using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GlobalUIInput : SingletonMono<GlobalUIInput>
{
    PlayerInputSystem inputActions;
    /***********1.对话***********/
    public bool isDialogue=>inputActions.UI.Dialogue.WasPressedThisFrame();
    void Awake()
    {
        inputActions = new PlayerInputSystem();
    }
    public void EnableInputSystem()
    {
        inputActions.UI.Enable();
    }
}
